package com.webfinal.backsystem.service;

import com.webfinal.backsystem.request.product.AddProductRequest;
import com.webfinal.backsystem.request.product.QueryProductRequest;
import com.webfinal.backsystem.request.product.UpdateProductRequest;
import com.webfinal.backsystem.response.product.AddProductResponse;
import com.webfinal.backsystem.response.product.ProductInfoResponse;
import com.webfinal.backsystem.response.product.UpdateProductResponse;
import org.springframework.web.multipart.MultipartFile;

public interface ProductService {
    ProductInfoResponse queryProduct(QueryProductRequest request);
    public AddProductResponse addProduct(AddProductRequest addProductRequest);
    public UpdateProductResponse updateProduct(UpdateProductRequest updateProductRequest);
    public AddProductResponse coverUpload(MultipartFile image);
}
